// AddUserGroupDlg.h: interface for the CAddUserGroupDlg class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_ADDUSERGROUPDLG_H__149C032F_BF2E_4373_A0C1_6EC641A3CFC5__INCLUDED_)
#define AFX_ADDUSERGROUPDLG_H__149C032F_BF2E_4373_A0C1_6EC641A3CFC5__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "Resource.h"
#include "ListCtrlChecked.h"
#include "IpAccessStatesShowDlg.h"

/////////////////////////////////////////////////////////////////////////////
// CAddUserGroupDlg dialog

class CAddUserGroupDlg : public CDialog
{
// Construction
public:
	CAddUserGroupDlg(CWnd* pParent = NULL);   // standard constructor

// Attributes
public:
	CString m_strDefaultRoles;
protected:
	CString m_strTitle;
	CIpAccessStatesShowDlg *m_pdlgRoleIPsAccessStates;

// Dialog Data
public:
	//{{AFX_DATA(CAddUserGroupDlg)
	enum { IDD = IDD_ADD_USERGROUP };
	CEdit	m_cedtGroup;
	CListCtrlChecked	m_clstRoles;
	CString	m_strGroup;
	//}}AFX_DATA

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAddUserGroupDlg)
public:
protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation	
	// Generated message map functions
	//{{AFX_MSG(CAddUserGroupDlg)
	virtual BOOL OnInitDialog();
	virtual void OnOK();
	afx_msg void OnDblclkLstRoles(NMHDR* pNMHDR, LRESULT* pResult);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
protected:
	BOOL VarifyData();
};

#endif // !defined(AFX_ADDUSERGROUPDLG_H__149C032F_BF2E_4373_A0C1_6EC641A3CFC5__INCLUDED_)
